<?php 
include('includes/headerLogin.php'); 
$error = (isset($_GET['error'])) ? $_GET['error']:0;
?>
<script type="text/javascript">
var error = <?php echo $error; ?>;
$(document).ready(function(){    
    if(error==1){ 
        getMessageLogin ('error');
    }
});    
</script>
<div id="message" ></div>
<div class="login">
    <span>
        <img src="public/images/shared/sesion.jpg" align="left" style="z-index:1000;">        
    </span>
<form id="formID" class="z-form ingresar " method="post" action="login-exec.php">    
    <div class="row">        
        <label>Usuario</label>
        <input name="login" class="validate[required] text-input" type="text" id="login"  value="" />
    </div>
    <div class="row">
        <label>Contraseña</label>
        <input name="password" class="validate[required] text-input" type="password" id="password" value=""/>
    </div>
    <div class="row buttoms">
        <input type="submit" name="Submit" value="Ingresar" />
    </div>
</form>
</div>
<?php include('includes/footer.php'); ?>
